package designpattern.factory;

public class OperationSub extends Operation{

	public OperationSub(Double num1, Double num2) {
		super(num1, num2);
		
	}

	@Override
	public Double operat() {
		return this.getNum1()-this.getNum2();
	}

}
